import styled from "styled-components";

export const PercentItemWrap = styled.div`
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
`;
export const PercentItemIconWrap = styled.div`
  position: relative;
  width: 76px;
  height: 70px;
  margin-bottom: 10px;
`;

export const PercentItemIcon = styled.img`
  width: 76px;
  height: 70px;
`;

export const CountUpWrap = styled.div<{ primaryColor: string }>`
  position: absolute;
  width: 76px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;

  font-weight: bold;
  font-style: italic;
  color: ${(props) => props.primaryColor};

  line-height: 25px;
  opacity: 0.97;
  left: 0;
  top: 0;
`;

export const TypeZhTextStyle = styled.div`
  color: #d5e7ff;

  margin-bottom: 8px;
`;
export const PercentAmount = styled.span<{ primaryColor: string }>`
  font-weight: normal;

  color: #68a8ff;
  color: ${(props) => props.primaryColor};

  line-height: 18px;
  font-size: 18px;

  font-weight: 400;
  font-style: italic;

  opacity: 0.97;
  height: 18px;
`;

export const PercentUnit = styled.span<{
  primaryColor: string;
}>`
  font-size: 12px;
  line-height: 14px;
  color: ${(props) => props.primaryColor};
`;

export { AmountItem1AmountLine } from "../amountItem1/styles";
